<script setup>
import Mycomponent from './Mycomponent.vue';
import Child from './Child.vue';

const message='来自父组件的消息'
</script>


<template>
    <div>
        <h2>父组件</h2>
        <p>这是父组件页面</p>
        <my-component :msg = 'message'></my-component>
        <child></child>
    </div>
</template>